body{
    background-color: #000;
}

h1,p {
    margin:0;
    padding:0;
}

/*页面宽度定义、居中*/
.wrapper {
    width: 1006px;
    background-color: #fff221;
    margin: 10px  auto;/*针对父容器居中*/
}

.clear{
    clear: both;
}

.header {
    width:991px;
    background-color: white;
    margin: 0 auto ;
    min-height: 200px;
}

.main{
    width:991px;
    background-color: green;
    margin: 0 auto ;
}

.footer {
    width:991px;
    background-color: blue;
    margin: 0 auto ;
    min-height: 80px;
}

.main .sidebar {
    float: left;
    width: 244px;
    margin-right: 5px;
    background-color: blueviolet;
    min-height: 600px;
}

.main .content {
    float: left;
    width: 742px;
    background-color: chartreuse;
    min-height: 600px;
}

